import { create } from 'zustand'
import { CompressTask } from '@renderer/services/ipc/ipc.constant'



export type AppStoreType = {
  showSetting: boolean
  tasks: CompressTask[]
}

const useAppStore = create<AppStoreType>(
  (set) => {
    return {
      showSetting: false,
      tasks: []
    }
  },
)


export default useAppStore